package com.ironman.event.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * description 传感器配置
 * company 铁人科技
 *
 * @author 陈浩杰
 * @date 2023/5/9 18:07
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "mqtt.remote")
public class MqttRemoteProperties {

    private String ip;

    private int port = 1883;

    private String clientIdPrefix;

    private String username;

    private String password;

    private int keepAliveInterval = 5;

    private int retryCount = 9;
}
